package cn.mengfly.testnrz.im.client.command;

import lombok.Data;

import java.util.Scanner;

/**
 * @author Mengfly
 */
@Data
public class ClientCommandMenu implements BaseCommand {

    private static final String KEY = "0";

    private String allCommandShow;
    private String commandInput;

    @Override
    public void exec(Scanner scanner) {
        System.out.println("请输入某个操作指令：");
        System.out.println(allCommandShow);
        commandInput = scanner.next();
    }

    @Override
    public String getKey() {
        return KEY;
    }

    @Override
    public String getTip() {
        return "show 所有指令";
    }

}
